-
Notifications
You must be signed in to change notification settings - Fork 89
fix: logout and minor improvements #4177
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM % minor nit
internal/cli/auth/logout.go
Outdated
@@ -174,14 +174,14 @@ func LogoutBuilder() *cobra.Command { | |||
var message, entry string | |||
var err error | |||
|
|||
fromProfile := fmt.Sprintf(" from profile %s?", opts.config.Name()) | |||
logoutMessage := fmt.Sprintf("Are you sure you want to log out of profile %s ", opts.config.Name()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: remove the space and put the space at the beginning all other messages so noAuth scenario doesn't end with <space><question mark>:
Are you sure you want to log out of profile %s ?
Co-authored-by: Melanija Cvetic <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!!
Proposed changes
Clarification change - mentions what profile is being logged out
Checklist
make fmt
and formatted my codeFurther comments